<#include "*/general/header.ftl">
<form action = "addCategory.action" method = "post">
<table id = "browse" WIDTH="300">
<tr> <th> Category Name </th> <th> Parent Category </th><th>Action </th>
<#list catList as c>
<#if c.category_id != 1>
<tr><td> ${c.name} </td> <td> ${(c.parentId.name)!""} </td> <td><a href="/Carrello/updateCategory.action?cid = ${c.category_id}">Edit</a></td><td><a href="/Carrello/deleteCategory.action?cid = ${c.category_id}">Remove</a></td></tr>
</#if>
</#list>

</table>
<input type = "submit" value="Add New Category" onClick="Submit"/><input type = "button" value="Add New Category Association" onClick="location.href='addAssociation.action'"/>
<#include "*/general/footer.ftl">